<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: wheels::rbTree&lt; keyType, dataType &gt; 模板类 参考</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../df/d8d/namespacewheels.html">wheels</a></li><li class="navelem"><a class="el" href="../../dc/df1/classwheels_1_1rb_tree.html">rbTree</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">类</a> &#124;
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-attribs">静态 Public 属性</a> &#124;
<a href="../../df/dfa/classwheels_1_1rb_tree-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">wheels::rbTree&lt; keyType, dataType &gt; 模板类 参考</div></div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="../../d1/d65/rb_tree_8hpp_source.html">rbTree.hpp</a>&gt;</code></p>
<div class="dynheader">
类 wheels::rbTree&lt; keyType, dataType &gt; 继承关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../df/d07/classwheels_1_1rb_tree__inherit__graph.png" border="0" usemap="#awheels_1_1rb_tree_3_01key_type_00_01data_type_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="awheels_1_1rb_tree_3_01key_type_00_01data_type_01_4_inherit__map" id="awheels_1_1rb_tree_3_01key_type_00_01data_type_01_4_inherit__map">
<area shape="rect" title=" " alt="" coords="16,5,204,459"/>
<area shape="rect" href="../../dc/df1/classwheels_1_1rb_tree.html" title=" " alt="" coords="5,523,215,1008"/>
<area shape="poly" title=" " alt="" coords="113,473,113,523,107,523,107,473"/>
</map>
</div>
<div class="dynheader">
wheels::rbTree&lt; keyType, dataType &gt; 的协作图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d2/d8c/classwheels_1_1rb_tree__coll__graph.png" border="0" usemap="#awheels_1_1rb_tree_3_01key_type_00_01data_type_01_4_coll__map" alt="Collaboration graph"/></div>
<map name="awheels_1_1rb_tree_3_01key_type_00_01data_type_01_4_coll__map" id="awheels_1_1rb_tree_3_01key_type_00_01data_type_01_4_coll__map">
<area shape="rect" title=" " alt="" coords="5,5,193,459"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
类</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d23/classwheels_1_1rb_tree_1_1st_iterator____.html">stIterator__</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dba/structwheels_1_1rb_tree_1_1st_node.html">stNode</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:abf4da4c8e154cd99815c304533937527" id="r_abf4da4c8e154cd99815c304533937527"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#abf4da4c8e154cd99815c304533937527">color</a> = bool</td></tr>
<tr class="separator:abf4da4c8e154cd99815c304533937527"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a75b4c026785706b4750d3f55e44f9e" id="r_a4a75b4c026785706b4750d3f55e44f9e"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a4a75b4c026785706b4750d3f55e44f9e">value_type</a> = typename std::decay&lt; typename std::remove_pointer&lt; dataType &gt; :: type &gt;::type</td></tr>
<tr class="separator:a4a75b4c026785706b4750d3f55e44f9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d4cf41ab21f8156899eb6d457c5b43b" id="r_a5d4cf41ab21f8156899eb6d457c5b43b"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a5d4cf41ab21f8156899eb6d457c5b43b">key_type</a> = typename std::decay&lt; typename std::remove_pointer&lt; keyType &gt; :: type &gt;&gt; type</td></tr>
<tr class="separator:a5d4cf41ab21f8156899eb6d457c5b43b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d2ba63b1b108ae225d7025e98e765ad" id="r_a7d2ba63b1b108ae225d7025e98e765ad"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a7d2ba63b1b108ae225d7025e98e765ad">nodePtr_t</a> = std::shared_ptr&lt; <a class="el" href="../../d6/dba/structwheels_1_1rb_tree_1_1st_node.html">stNode</a> &gt;</td></tr>
<tr class="separator:a7d2ba63b1b108ae225d7025e98e765ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae061ebe5be82ecfd1509dfa4a0b8da70" id="r_ae061ebe5be82ecfd1509dfa4a0b8da70"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ae061ebe5be82ecfd1509dfa4a0b8da70">node_t</a> = <a class="el" href="../../d6/dba/structwheels_1_1rb_tree_1_1st_node.html">stNode</a></td></tr>
<tr class="separator:ae061ebe5be82ecfd1509dfa4a0b8da70"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0e840e3fa2bdddb83ced6b472db0b08" id="r_aa0e840e3fa2bdddb83ced6b472db0b08"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aa0e840e3fa2bdddb83ced6b472db0b08">iterator</a> = <a class="el" href="../../dc/d23/classwheels_1_1rb_tree_1_1st_iterator____.html">stIterator__</a></td></tr>
<tr class="separator:aa0e840e3fa2bdddb83ced6b472db0b08"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:aaaf9e2b06414dd5b00e942c40c45f55f" id="r_aaaf9e2b06414dd5b00e942c40c45f55f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aaaf9e2b06414dd5b00e942c40c45f55f">rbTree</a> ()</td></tr>
<tr class="separator:aaaf9e2b06414dd5b00e942c40c45f55f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e68df84ca34d7cad324edb1784393b5" id="r_a4e68df84ca34d7cad324edb1784393b5"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a4e68df84ca34d7cad324edb1784393b5">~rbTree</a> ()</td></tr>
<tr class="separator:a4e68df84ca34d7cad324edb1784393b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73eec285acbf2de77610e4bb969754e5" id="r_a73eec285acbf2de77610e4bb969754e5"><td class="memItemLeft" align="right" valign="top">const keyType &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a73eec285acbf2de77610e4bb969754e5">key</a> (<a class="el" href="#aa0e840e3fa2bdddb83ced6b472db0b08">iterator</a> it) const</td></tr>
<tr class="separator:a73eec285acbf2de77610e4bb969754e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ad06e1e8187a417fe9f4c6172addd93" id="r_a7ad06e1e8187a417fe9f4c6172addd93"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a7ad06e1e8187a417fe9f4c6172addd93">clear</a> ()</td></tr>
<tr class="memdesc:a7ad06e1e8187a417fe9f4c6172addd93"><td class="mdescLeft">&#160;</td><td class="mdescRight">清理内存  <br /></td></tr>
<tr class="separator:a7ad06e1e8187a417fe9f4c6172addd93"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55779e53d710c592810cfabd6fe91193" id="r_a55779e53d710c592810cfabd6fe91193"><td class="memItemLeft" align="right" valign="top"><a class="el" href="#aa0e840e3fa2bdddb83ced6b472db0b08">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a55779e53d710c592810cfabd6fe91193">begin</a> ()</td></tr>
<tr class="separator:a55779e53d710c592810cfabd6fe91193"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6cdedce00ad1aa0e8d10d7ea5349681b" id="r_a6cdedce00ad1aa0e8d10d7ea5349681b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="#aa0e840e3fa2bdddb83ced6b472db0b08">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a6cdedce00ad1aa0e8d10d7ea5349681b">end</a> ()</td></tr>
<tr class="separator:a6cdedce00ad1aa0e8d10d7ea5349681b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c8fa0861e564b2f1538bda81b073c94" id="r_a9c8fa0861e564b2f1538bda81b073c94"><td class="memItemLeft" align="right" valign="top"><a class="el" href="#aa0e840e3fa2bdddb83ced6b472db0b08">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a9c8fa0861e564b2f1538bda81b073c94">find</a> (const keyType &amp;<a class="el" href="#a73eec285acbf2de77610e4bb969754e5">key</a>)</td></tr>
<tr class="memdesc:a9c8fa0861e564b2f1538bda81b073c94"><td class="mdescLeft">&#160;</td><td class="mdescRight">查找数据  <br /></td></tr>
<tr class="separator:a9c8fa0861e564b2f1538bda81b073c94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a120367d8b8f7b46fa1e66579aaac7f3c" id="r_a120367d8b8f7b46fa1e66579aaac7f3c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a120367d8b8f7b46fa1e66579aaac7f3c">has</a> (const keyType &amp;<a class="el" href="#a73eec285acbf2de77610e4bb969754e5">key</a>)</td></tr>
<tr class="memdesc:a120367d8b8f7b46fa1e66579aaac7f3c"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断是否存在数据  <br /></td></tr>
<tr class="separator:a120367d8b8f7b46fa1e66579aaac7f3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01744da0cb0b81ed00535f92ab1c7b44" id="r_a01744da0cb0b81ed00535f92ab1c7b44"><td class="memItemLeft" align="right" valign="top">dataType &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a01744da0cb0b81ed00535f92ab1c7b44">operator[]</a> (const keyType &amp;<a class="el" href="#a73eec285acbf2de77610e4bb969754e5">key</a>)</td></tr>
<tr class="memdesc:a01744da0cb0b81ed00535f92ab1c7b44"><td class="mdescLeft">&#160;</td><td class="mdescRight">取数据内容。重载了下标运算符，方便获取数据  <br /></td></tr>
<tr class="separator:a01744da0cb0b81ed00535f92ab1c7b44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02c9cf49551d6dd97210c2233e4494dc" id="r_a02c9cf49551d6dd97210c2233e4494dc"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a02c9cf49551d6dd97210c2233e4494dc">insert</a> (const keyType &amp;<a class="el" href="#a73eec285acbf2de77610e4bb969754e5">key</a>, const dataType &amp;val)</td></tr>
<tr class="memdesc:a02c9cf49551d6dd97210c2233e4494dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">插入节点  <br /></td></tr>
<tr class="separator:a02c9cf49551d6dd97210c2233e4494dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a705f11fc785110687b30255b1a36791b" id="r_a705f11fc785110687b30255b1a36791b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a705f11fc785110687b30255b1a36791b">insert</a> (const keyType &amp;<a class="el" href="#a73eec285acbf2de77610e4bb969754e5">key</a>, dataType &amp;&amp;val)</td></tr>
<tr class="separator:a705f11fc785110687b30255b1a36791b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6cf7cfe71cd2d472c7e31130836d551" id="r_ab6cf7cfe71cd2d472c7e31130836d551"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ab6cf7cfe71cd2d472c7e31130836d551">erase</a> (const keyType &amp;<a class="el" href="#a73eec285acbf2de77610e4bb969754e5">key</a>)</td></tr>
<tr class="memdesc:ab6cf7cfe71cd2d472c7e31130836d551"><td class="mdescLeft">&#160;</td><td class="mdescRight">删除操作节点  <br /></td></tr>
<tr class="separator:ab6cf7cfe71cd2d472c7e31130836d551"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-attribs" name="pub-static-attribs"></a>
静态 Public 属性</h2></td></tr>
<tr class="memitem:ae6848ec1108f016438fd9aab573738fc" id="r_ae6848ec1108f016438fd9aab573738fc"><td class="memItemLeft" align="right" valign="top">static const bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ae6848ec1108f016438fd9aab573738fc">RED</a> = true</td></tr>
<tr class="separator:ae6848ec1108f016438fd9aab573738fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acccbce32d6839db6b734c3d27bb96d9a" id="r_acccbce32d6839db6b734c3d27bb96d9a"><td class="memItemLeft" align="right" valign="top">static const bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#acccbce32d6839db6b734c3d27bb96d9a">BLACK</a> = false</td></tr>
<tr class="separator:acccbce32d6839db6b734c3d27bb96d9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;typename keyType, typename dataType&gt;<br />
class wheels::rbTree&lt; keyType, dataType &gt;</div>
<p class="definition">在文件 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html">rbTree.hpp</a> 第 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html#l00027">27</a> 行定义.</p>
</div><h2 class="groupheader">成员类型定义说明</h2>
<a id="abf4da4c8e154cd99815c304533937527" name="abf4da4c8e154cd99815c304533937527"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abf4da4c8e154cd99815c304533937527">&#9670;&#160;</a></span>color</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename keyType , typename dataType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="../../dc/df1/classwheels_1_1rb_tree.html">wheels::rbTree</a>&lt; keyType, dataType &gt;::color = bool</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html">rbTree.hpp</a> 第 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html#l00030">30</a> 行定义.</p>

</div>
</div>
<a id="aa0e840e3fa2bdddb83ced6b472db0b08" name="aa0e840e3fa2bdddb83ced6b472db0b08"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa0e840e3fa2bdddb83ced6b472db0b08">&#9670;&#160;</a></span>iterator</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename keyType , typename dataType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="../../dc/df1/classwheels_1_1rb_tree.html">wheels::rbTree</a>&lt; keyType, dataType &gt;::iterator = <a class="el" href="../../dc/d23/classwheels_1_1rb_tree_1_1st_iterator____.html">stIterator__</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html">rbTree.hpp</a> 第 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html#l00123">123</a> 行定义.</p>

</div>
</div>
<a id="a5d4cf41ab21f8156899eb6d457c5b43b" name="a5d4cf41ab21f8156899eb6d457c5b43b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5d4cf41ab21f8156899eb6d457c5b43b">&#9670;&#160;</a></span>key_type</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename keyType , typename dataType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="../../dc/df1/classwheels_1_1rb_tree.html">wheels::rbTree</a>&lt; keyType, dataType &gt;::key_type = typename std::decay&lt; typename std::remove_pointer&lt; keyType &gt; :: type &gt;&gt; type</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html">rbTree.hpp</a> 第 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html#l00034">34</a> 行定义.</p>

</div>
</div>
<a id="ae061ebe5be82ecfd1509dfa4a0b8da70" name="ae061ebe5be82ecfd1509dfa4a0b8da70"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae061ebe5be82ecfd1509dfa4a0b8da70">&#9670;&#160;</a></span>node_t</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename keyType , typename dataType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="../../dc/df1/classwheels_1_1rb_tree.html">wheels::rbTree</a>&lt; keyType, dataType &gt;::node_t = <a class="el" href="../../d6/dba/structwheels_1_1rb_tree_1_1st_node.html">stNode</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html">rbTree.hpp</a> 第 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html#l00065">65</a> 行定义.</p>

</div>
</div>
<a id="a7d2ba63b1b108ae225d7025e98e765ad" name="a7d2ba63b1b108ae225d7025e98e765ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7d2ba63b1b108ae225d7025e98e765ad">&#9670;&#160;</a></span>nodePtr_t</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename keyType , typename dataType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="../../dc/df1/classwheels_1_1rb_tree.html">wheels::rbTree</a>&lt; keyType, dataType &gt;::nodePtr_t = std::shared_ptr&lt; <a class="el" href="../../d6/dba/structwheels_1_1rb_tree_1_1st_node.html">stNode</a> &gt;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html">rbTree.hpp</a> 第 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html#l00036">36</a> 行定义.</p>

</div>
</div>
<a id="a4a75b4c026785706b4750d3f55e44f9e" name="a4a75b4c026785706b4750d3f55e44f9e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4a75b4c026785706b4750d3f55e44f9e">&#9670;&#160;</a></span>value_type</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename keyType , typename dataType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="../../dc/df1/classwheels_1_1rb_tree.html">wheels::rbTree</a>&lt; keyType, dataType &gt;::value_type = typename std::decay&lt; typename std::remove_pointer&lt; dataType &gt; :: type &gt;::type</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html">rbTree.hpp</a> 第 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html#l00033">33</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">构造及析构函数说明</h2>
<a id="aaaf9e2b06414dd5b00e942c40c45f55f" name="aaaf9e2b06414dd5b00e942c40c45f55f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaaf9e2b06414dd5b00e942c40c45f55f">&#9670;&#160;</a></span>rbTree()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename keyType , typename dataType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/df1/classwheels_1_1rb_tree.html">wheels::rbTree</a>&lt; keyType, dataType &gt;::rbTree </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html">rbTree.hpp</a> 第 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html#l00131">131</a> 行定义.</p>

</div>
</div>
<a id="a4e68df84ca34d7cad324edb1784393b5" name="a4e68df84ca34d7cad324edb1784393b5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4e68df84ca34d7cad324edb1784393b5">&#9670;&#160;</a></span>~rbTree()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename keyType , typename dataType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="../../dc/df1/classwheels_1_1rb_tree.html">wheels::rbTree</a>&lt; keyType, dataType &gt;::~<a class="el" href="../../dc/df1/classwheels_1_1rb_tree.html">rbTree</a> </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html">rbTree.hpp</a> 第 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html#l00133">133</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a55779e53d710c592810cfabd6fe91193" name="a55779e53d710c592810cfabd6fe91193"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a55779e53d710c592810cfabd6fe91193">&#9670;&#160;</a></span>begin()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename keyType , typename dataType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="#aa0e840e3fa2bdddb83ced6b472db0b08">iterator</a> <a class="el" href="../../dc/df1/classwheels_1_1rb_tree.html">wheels::rbTree</a>&lt; keyType, dataType &gt;::begin </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html">rbTree.hpp</a> 第 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html#l00153">153</a> 行定义.</p>

</div>
</div>
<a id="a7ad06e1e8187a417fe9f4c6172addd93" name="a7ad06e1e8187a417fe9f4c6172addd93"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7ad06e1e8187a417fe9f4c6172addd93">&#9670;&#160;</a></span>clear()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename keyType , typename dataType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="../../dc/df1/classwheels_1_1rb_tree.html">wheels::rbTree</a>&lt; keyType, dataType &gt;::clear </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>清理内存 </p>

<p class="definition">在文件 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html">rbTree.hpp</a> 第 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html#l00145">145</a> 行定义.</p>

</div>
</div>
<a id="a6cdedce00ad1aa0e8d10d7ea5349681b" name="a6cdedce00ad1aa0e8d10d7ea5349681b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6cdedce00ad1aa0e8d10d7ea5349681b">&#9670;&#160;</a></span>end()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename keyType , typename dataType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="#aa0e840e3fa2bdddb83ced6b472db0b08">iterator</a> <a class="el" href="../../dc/df1/classwheels_1_1rb_tree.html">wheels::rbTree</a>&lt; keyType, dataType &gt;::end </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html">rbTree.hpp</a> 第 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html#l00155">155</a> 行定义.</p>

</div>
</div>
<a id="ab6cf7cfe71cd2d472c7e31130836d551" name="ab6cf7cfe71cd2d472c7e31130836d551"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab6cf7cfe71cd2d472c7e31130836d551">&#9670;&#160;</a></span>erase()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename keyType , typename dataType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="../../dc/df1/classwheels_1_1rb_tree.html">wheels::rbTree</a>&lt; keyType, dataType &gt;::erase </td>
          <td>(</td>
          <td class="paramtype">const keyType &amp;</td>          <td class="paramname"><span class="paramname"><em>key</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>删除操作节点 </p>

<p class="definition">在文件 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html">rbTree.hpp</a> 第 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html#l00312">312</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="../../dc/df1/classwheels_1_1rb_tree_ab6cf7cfe71cd2d472c7e31130836d551_cgraph.png" border="0" usemap="#adc/df1/classwheels_1_1rb_tree_ab6cf7cfe71cd2d472c7e31130836d551_cgraph" alt=""/></div>
<map name="adc/df1/classwheels_1_1rb_tree_ab6cf7cfe71cd2d472c7e31130836d551_cgraph" id="adc/df1/classwheels_1_1rb_tree_ab6cf7cfe71cd2d472c7e31130836d551_cgraph">
<area shape="rect" title="删除操作节点" alt="" coords="5,5,153,32"/>
<area shape="rect" href="../../dc/df1/classwheels_1_1rb_tree.html#a73eec285acbf2de77610e4bb969754e5" title=" " alt="" coords="201,5,337,32"/>
<area shape="poly" title=" " alt="" coords="153,16,186,16,186,21,153,21"/>
</map>
</div>

</div>
</div>
<a id="a9c8fa0861e564b2f1538bda81b073c94" name="a9c8fa0861e564b2f1538bda81b073c94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9c8fa0861e564b2f1538bda81b073c94">&#9670;&#160;</a></span>find()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename keyType , typename dataType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="#aa0e840e3fa2bdddb83ced6b472db0b08">iterator</a> <a class="el" href="../../dc/df1/classwheels_1_1rb_tree.html">wheels::rbTree</a>&lt; keyType, dataType &gt;::find </td>
          <td>(</td>
          <td class="paramtype">const keyType &amp;</td>          <td class="paramname"><span class="paramname"><em>key</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>查找数据 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">key[</td><td>I ], 数据键名称 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>找到返回数据迭代器，否则返回end() </dd></dl>

<p class="definition">在文件 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html">rbTree.hpp</a> 第 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html#l00161">161</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="../../dc/df1/classwheels_1_1rb_tree_a9c8fa0861e564b2f1538bda81b073c94_cgraph.png" border="0" usemap="#adc/df1/classwheels_1_1rb_tree_a9c8fa0861e564b2f1538bda81b073c94_cgraph" alt=""/></div>
<map name="adc/df1/classwheels_1_1rb_tree_a9c8fa0861e564b2f1538bda81b073c94_cgraph" id="adc/df1/classwheels_1_1rb_tree_a9c8fa0861e564b2f1538bda81b073c94_cgraph">
<area shape="rect" title="查找数据" alt="" coords="5,5,142,32"/>
<area shape="rect" href="../../dc/df1/classwheels_1_1rb_tree.html#a73eec285acbf2de77610e4bb969754e5" title=" " alt="" coords="190,5,326,32"/>
<area shape="poly" title=" " alt="" coords="142,16,174,16,174,21,142,21"/>
</map>
</div>

</div>
</div>
<a id="a120367d8b8f7b46fa1e66579aaac7f3c" name="a120367d8b8f7b46fa1e66579aaac7f3c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a120367d8b8f7b46fa1e66579aaac7f3c">&#9670;&#160;</a></span>has()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename keyType , typename dataType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="../../dc/df1/classwheels_1_1rb_tree.html">wheels::rbTree</a>&lt; keyType, dataType &gt;::has </td>
          <td>(</td>
          <td class="paramtype">const keyType &amp;</td>          <td class="paramname"><span class="paramname"><em>key</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>判断是否存在数据 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">key[</td><td>I ], </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">在文件 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html">rbTree.hpp</a> 第 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html#l00181">181</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="../../dc/df1/classwheels_1_1rb_tree_a120367d8b8f7b46fa1e66579aaac7f3c_cgraph.png" border="0" usemap="#adc/df1/classwheels_1_1rb_tree_a120367d8b8f7b46fa1e66579aaac7f3c_cgraph" alt=""/></div>
<map name="adc/df1/classwheels_1_1rb_tree_a120367d8b8f7b46fa1e66579aaac7f3c_cgraph" id="adc/df1/classwheels_1_1rb_tree_a120367d8b8f7b46fa1e66579aaac7f3c_cgraph">
<area shape="rect" title="判断是否存在数据" alt="" coords="5,5,142,32"/>
<area shape="rect" href="../../dc/df1/classwheels_1_1rb_tree.html#a73eec285acbf2de77610e4bb969754e5" title=" " alt="" coords="190,5,326,32"/>
<area shape="poly" title=" " alt="" coords="142,16,174,16,174,21,142,21"/>
</map>
</div>

</div>
</div>
<a id="a02c9cf49551d6dd97210c2233e4494dc" name="a02c9cf49551d6dd97210c2233e4494dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a02c9cf49551d6dd97210c2233e4494dc">&#9670;&#160;</a></span>insert() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename keyType , typename dataType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="../../dc/df1/classwheels_1_1rb_tree.html">wheels::rbTree</a>&lt; keyType, dataType &gt;::insert </td>
          <td>(</td>
          <td class="paramtype">const keyType &amp;</td>          <td class="paramname"><span class="paramname"><em>key</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const dataType &amp;</td>          <td class="paramname"><span class="paramname"><em>val</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>插入节点 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">key[</td><td>I ], 要插入的数据键 </td></tr>
    <tr><td class="paramname">val[</td><td>I ]， 要插入的数据的值 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功操作返回true,否则返回false </dd></dl>

<p class="definition">在文件 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html">rbTree.hpp</a> 第 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html#l00224">224</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="../../dc/df1/classwheels_1_1rb_tree_a02c9cf49551d6dd97210c2233e4494dc_cgraph.png" border="0" usemap="#adc/df1/classwheels_1_1rb_tree_a02c9cf49551d6dd97210c2233e4494dc_cgraph" alt=""/></div>
<map name="adc/df1/classwheels_1_1rb_tree_a02c9cf49551d6dd97210c2233e4494dc_cgraph" id="adc/df1/classwheels_1_1rb_tree_a02c9cf49551d6dd97210c2233e4494dc_cgraph">
<area shape="rect" title="插入节点" alt="" coords="5,5,153,32"/>
<area shape="rect" href="../../dc/df1/classwheels_1_1rb_tree.html#a73eec285acbf2de77610e4bb969754e5" title=" " alt="" coords="201,5,337,32"/>
<area shape="poly" title=" " alt="" coords="153,16,186,16,186,21,153,21"/>
</map>
</div>

</div>
</div>
<a id="a705f11fc785110687b30255b1a36791b" name="a705f11fc785110687b30255b1a36791b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a705f11fc785110687b30255b1a36791b">&#9670;&#160;</a></span>insert() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename keyType , typename dataType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="../../dc/df1/classwheels_1_1rb_tree.html">wheels::rbTree</a>&lt; keyType, dataType &gt;::insert </td>
          <td>(</td>
          <td class="paramtype">const keyType &amp;</td>          <td class="paramname"><span class="paramname"><em>key</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dataType &amp;&amp;</td>          <td class="paramname"><span class="paramname"><em>val</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html">rbTree.hpp</a> 第 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html#l00267">267</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="../../dc/df1/classwheels_1_1rb_tree_a705f11fc785110687b30255b1a36791b_cgraph.png" border="0" usemap="#adc/df1/classwheels_1_1rb_tree_a705f11fc785110687b30255b1a36791b_cgraph" alt=""/></div>
<map name="adc/df1/classwheels_1_1rb_tree_a705f11fc785110687b30255b1a36791b_cgraph" id="adc/df1/classwheels_1_1rb_tree_a705f11fc785110687b30255b1a36791b_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,153,32"/>
<area shape="rect" href="../../dc/df1/classwheels_1_1rb_tree.html#a73eec285acbf2de77610e4bb969754e5" title=" " alt="" coords="201,5,337,32"/>
<area shape="poly" title=" " alt="" coords="153,16,186,16,186,21,153,21"/>
</map>
</div>

</div>
</div>
<a id="a73eec285acbf2de77610e4bb969754e5" name="a73eec285acbf2de77610e4bb969754e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a73eec285acbf2de77610e4bb969754e5">&#9670;&#160;</a></span>key()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename keyType , typename dataType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const keyType &amp; <a class="el" href="../../dc/df1/classwheels_1_1rb_tree.html">wheels::rbTree</a>&lt; keyType, dataType &gt;::key </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="#aa0e840e3fa2bdddb83ced6b472db0b08">iterator</a></td>          <td class="paramname"><span class="paramname"><em>it</em></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html">rbTree.hpp</a> 第 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html#l00139">139</a> 行定义.</p>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../dc/df1/classwheels_1_1rb_tree_a73eec285acbf2de77610e4bb969754e5_icgraph.png" border="0" usemap="#adc/df1/classwheels_1_1rb_tree_a73eec285acbf2de77610e4bb969754e5_icgraph" alt=""/></div>
<map name="adc/df1/classwheels_1_1rb_tree_a73eec285acbf2de77610e4bb969754e5_icgraph" id="adc/df1/classwheels_1_1rb_tree_a73eec285acbf2de77610e4bb969754e5_icgraph">
<area shape="rect" title=" " alt="" coords="224,132,360,159"/>
<area shape="rect" href="../../dc/df1/classwheels_1_1rb_tree.html#ab6cf7cfe71cd2d472c7e31130836d551" title="删除操作节点" alt="" coords="17,5,164,32"/>
<area shape="poly" title=" " alt="" coords="267,122,226,83,174,46,148,35,151,30,177,42,229,79,270,119"/>
<area shape="rect" href="../../dc/df1/classwheels_1_1rb_tree.html#a9c8fa0861e564b2f1538bda81b073c94" title="查找数据" alt="" coords="22,56,159,83"/>
<area shape="poly" title=" " alt="" coords="247,127,175,97,141,86,142,81,177,92,249,123"/>
<area shape="rect" href="../../dc/df1/classwheels_1_1rb_tree.html#a120367d8b8f7b46fa1e66579aaac7f3c" title="判断是否存在数据" alt="" coords="22,107,159,133"/>
<area shape="poly" title=" " alt="" coords="208,138,159,131,159,126,209,132"/>
<area shape="rect" href="../../dc/df1/classwheels_1_1rb_tree.html#a02c9cf49551d6dd97210c2233e4494dc" title="插入节点" alt="" coords="17,157,164,184"/>
<area shape="poly" title=" " alt="" coords="209,158,165,164,164,159,208,153"/>
<area shape="rect" href="../../dc/df1/classwheels_1_1rb_tree.html#a705f11fc785110687b30255b1a36791b" title=" " alt="" coords="17,208,164,235"/>
<area shape="poly" title=" " alt="" coords="249,168,177,198,142,210,141,205,175,194,247,163"/>
<area shape="rect" href="../../dc/df1/classwheels_1_1rb_tree.html#a01744da0cb0b81ed00535f92ab1c7b44" title="取数据内容。重载了下标运算符，方便获取数据" alt="" coords="5,259,176,285"/>
<area shape="poly" title=" " alt="" coords="270,172,229,211,177,249,151,261,148,256,174,244,226,207,267,168"/>
</map>
</div>

</div>
</div>
<a id="a01744da0cb0b81ed00535f92ab1c7b44" name="a01744da0cb0b81ed00535f92ab1c7b44"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a01744da0cb0b81ed00535f92ab1c7b44">&#9670;&#160;</a></span>operator[]()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename keyType , typename dataType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">dataType &amp; <a class="el" href="../../dc/df1/classwheels_1_1rb_tree.html">wheels::rbTree</a>&lt; keyType, dataType &gt;::operator[] </td>
          <td>(</td>
          <td class="paramtype">const keyType &amp;</td>          <td class="paramname"><span class="paramname"><em>key</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>取数据内容。重载了下标运算符，方便获取数据 </p>

<p class="definition">在文件 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html">rbTree.hpp</a> 第 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html#l00200">200</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="../../dc/df1/classwheels_1_1rb_tree_a01744da0cb0b81ed00535f92ab1c7b44_cgraph.png" border="0" usemap="#adc/df1/classwheels_1_1rb_tree_a01744da0cb0b81ed00535f92ab1c7b44_cgraph" alt=""/></div>
<map name="adc/df1/classwheels_1_1rb_tree_a01744da0cb0b81ed00535f92ab1c7b44_cgraph" id="adc/df1/classwheels_1_1rb_tree_a01744da0cb0b81ed00535f92ab1c7b44_cgraph">
<area shape="rect" title="取数据内容。重载了下标运算符，方便获取数据" alt="" coords="5,5,176,32"/>
<area shape="rect" href="../../dc/df1/classwheels_1_1rb_tree.html#a73eec285acbf2de77610e4bb969754e5" title=" " alt="" coords="224,5,360,32"/>
<area shape="poly" title=" " alt="" coords="176,16,208,16,208,21,176,21"/>
</map>
</div>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="acccbce32d6839db6b734c3d27bb96d9a" name="acccbce32d6839db6b734c3d27bb96d9a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acccbce32d6839db6b734c3d27bb96d9a">&#9670;&#160;</a></span>BLACK</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename keyType , typename dataType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const bool <a class="el" href="../../dc/df1/classwheels_1_1rb_tree.html">wheels::rbTree</a>&lt; keyType, dataType &gt;::BLACK = false</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html">rbTree.hpp</a> 第 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html#l00032">32</a> 行定义.</p>

</div>
</div>
<a id="ae6848ec1108f016438fd9aab573738fc" name="ae6848ec1108f016438fd9aab573738fc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae6848ec1108f016438fd9aab573738fc">&#9670;&#160;</a></span>RED</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename keyType , typename dataType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const bool <a class="el" href="../../dc/df1/classwheels_1_1rb_tree.html">wheels::rbTree</a>&lt; keyType, dataType &gt;::RED = true</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html">rbTree.hpp</a> 第 <a class="el" href="../../d1/d65/rb_tree_8hpp_source.html#l00031">31</a> 行定义.</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>include/container/<a class="el" href="../../d1/d65/rb_tree_8hpp_source.html">rbTree.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
